﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace ST.Buz.Base.ViewModel
{
	/// <summary>
	/// 模块信息
	/// </summary>
	public class VM_Sys_Module
	{
		/// <summary>
		/// 模块ID
		/// </summary>
		public string ID { get; set; }

		/// <summary>
		/// 模块代码
		/// </summary>
		public string Code { get; set; }

		/// <summary>
		/// 模块名称
		/// </summary>
		public string Name { get; set; }

		/// <summary>
		/// 图标
		/// </summary>
		public string Icon { get; set; }

		/// <summary>
		/// 排序
		/// </summary>
		public int SortRank { get; set; }

		/// <summary>
		/// 是否可见
		/// </summary>
		public bool Visible { get; set; }

		/// <summary>
		/// 链接
		/// </summary>
		public string Url { get; set; }

		/// <summary>
		/// 模块下所有菜单
		/// </summary>
		public List<VM_Sys_ModuleService> Services { get; set; }
	}
}
